home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
BARNET
/
ARMTEX
/
EXTRAS
/
DRAW2LAT
/
Source
/
Makefile
Wrap
Makefile
|
1998-10-18
|
707b
|
30 lines
CC = gcc
CFLAGS = -Wall -O2 -mstubs -mthrowback -MMD -frtti -mno-poke-function-name #-DDEBUG
CPPFLAGS= -Ilibstdc:
LD = drlink
LDFLAGS = -qui -t
LIBS = gcc:o.libgcc c:o.stubs libstdc:o.libstdc++
o.% : c.%
$(CC) -c $(CFLAGS) $(CPPFLAGS) $<
o.% : cc.%
$(CC) -c $(CFLAGS) $(CPPFLAGS) $<
OBJS = o.draw2latex
#____________________________________________________________________________
all: !RunImage
clean:
@Remove !Depend
@Remove !RunImage
@IfThere d Then Wipe d ~C~FR~V
@IfThere o Then Wipe o ~C~FR~V
!RunImage: $(OBJS)
$(LD) $(LDFLAGS) $(OBJS) -o !RunImage $(LIBS)
#____________________________________________________________________________
# Dynamic dependencies:
o.draw2latex: cc.draw2latex